/****************************************************************************
** @brief
****************************************************************************/

#ifndef CHARGE_H
#define CHARGE_H

#include <QThread>

#include "status/gun.h"

class ChargeMain : public QThread
{
    Q_OBJECT

public:
    ChargeMain(int no, QObject *parent = nullptr);
    ~ChargeMain();

    ///
    /// \brief gun
    /// \return
    ///
    Gun *gun() const;

protected:
    void run() Q_DECL_OVERRIDE;

private:
    bool m_quit;
    unsigned long m_cycle;

    Gun *gun_;

signals:

public slots:

private slots:

};

#endif // CHARGE_H
